package InputPreparer;

import java.util.ArrayList;

import Global.GlobalClass;
import LocalClassifier.LocalClassifierInterface;

public abstract class LocalClassifierListInputPreparerClass implements InputPreparationMethodInterface{
	
	String name;
	public ArrayList<ClassifierInputDataClass> dataList ;
	
	GlobalClass global;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	
	public ArrayList<ClassifierInputDataClass> getDataList() {
		return dataList;
	}

	public void setDataList(ArrayList<ClassifierInputDataClass> dataList) {
		this.dataList = dataList;
	}

	public LocalClassifierListInputPreparerClass(String name,ArrayList<ClassifierInputDataClass> dataList, GlobalClass global) 
	{
		// TODO Auto-generated constructor stub

		this.dataList=dataList;
		this.name = name;	
		this.global = global;
		// TODO Auto-generated constructor stub
		//dataList = new ArrayList<ClassifierInputDataClass>(); 
		
	}

	public LocalClassifierListInputPreparerClass(ArrayList<ClassifierInputDataClass> dataList )
	{
	}
	
	//give at first all classifier mustbeuse in this 
	public LocalClassifierListInputPreparerClass(ClassifierInputDataClass data ) 
	{
		// TODO Auto-generated constructor stub
		dataList = new ArrayList<ClassifierInputDataClass>();
		dataList.add(data);
	}
	
	public void AddLocalClassifier(LocalClassifierInterface classifier, double [] normalizationVector)
	{
		ClassifierInputDataClass data = new ClassifierInputDataClass(normalizationVector, classifier);
		dataList.add(data);
	}

}
